home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- ################################################################################
- #
- # File: xmu_server
- # RCS: $Header: $
- # Description: start the XmuServer... [ WINTERP-based menu server ]
- # Author: Richard Hess, Consilium.
- # Created: Sat Oct 5 23:56:46 1991
- # Modified: Sun Oct 6 00:12:21 1991 (Niels Mayer) mayer@hplnpm
- # Language: sh
- # Package: N/A
- # Status: X11r5 contrib tape release
- #
- # WINTERP Copyright 1989, 1990, 1991 Hewlett-Packard Company (by Niels Mayer).
- # XLISP version 2.1, Copyright (c) 1989, by David Betz.
- #
- # Permission to use, copy, modify, distribute, and sell this software and its
- # documentation for any purpose is hereby granted without fee, provided that
- # the above copyright notice appear in all copies and that both that
- # copyright notice and this permission notice appear in supporting
- # documentation, and that the name of Hewlett-Packard and David Betz not be
- # used in advertising or publicity pertaining to distribution of the software
- # without specific, written prior permission. Hewlett-Packard and David Betz
- # make no representations about the suitability of this software for any
- # purpose. It is provided "as is" without express or implied warranty.
- ################################################################################
-
- # +---------------------------------------------------------------------------
- # WHO: Richard Hess CORP: Consilium
- # TITLE: Staff Engineer VOICE: [415] 691-6342
- # [ X-SWAT Team: Special Projects ] USNAIL: 640 Clyde Court
- # UUCP: ...!uunet!cimshop!rhess Mountain View, CA 94043
- # +---------------------------------------------------------------------------
-
- unset WINTERP_UNIX_SOCKET_FILEPATH
-
- SERVER=/tmp/.xmu_server
- if [ -w $SERVER ]
- then
- echo "WARNING -- Xmu Menu Server currently active..."
- else
- CLASS="-class Xmu"
- XGEO="-geometry 80x10+0+2"
- XRM_OPTS="*VT100.Translations:#override<KeyDown>:ignore()"
- XTERM_OPTS="-name XmuServer -title XmuServer -sb -sl 300 -ut"
- xterm -iconic $XGEO $XTERM_OPTS -xrm "$XRM_OPTS" -e winterp $CLASS &
- echo "-- Starting Xmu Menu Server..."
- fi
- # -----------------------------------------------------------------------<eof>
-